package com.wjw.mapper;

import com.wjw.model.Facility_damage_table;
import com.wjw.model.Map_table;
import com.wjw.model.Road_basic_table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface MapTableMapper {
    List<Map_table> findAll();
    List<Map_table> findByPage(@Param("page") int page, @Param("limit") int limit);
    int add(Map_table map_table);
    int delete(int id);
    int change(Map_table map_table);
    Road_basic_table findRoadByName(String name);
    Road_basic_table findRoadById(int id);
}
